package com.tyl.xtk.service;

import com.baomidou.mybatisplus.core.metadata.IPage;

import java.io.Serializable;
import java.util.List;

public interface DataService<T> {


    public List<T> selectList();

    public IPage<T> selectPage(IPage<T> page);

    public T selectById(Serializable id);

    public boolean insert(T t);

    public boolean update(T t);
    
    public boolean removeById(Serializable id);
}